export interface userQueryParams {
  sortField?: string
  pageSize?: number
  pageIndex?: number
  sortType?: string
  userName?: string
  roleId?: string
  userState?: string
  userPhone?: string
}

export interface UserInfoResponse {
  pkid: string
  loginName: string
  userName: string
  userEmail: string
  userPhone: string
  createTime: string
  updateTime: string
  lastLoginTime: string // 最后一次登录时间
  loginTimes: string //登录次数
  userState: 1 | 2 // 用户状态 1：启动 2：禁用
  userLevel: number
  remark: string
  orderIndex: any
  roleId: string
  roleName: string
  roleLevel: string
  deptId: string
  deptNumber: string
  deptName: string
  deptStatus: string
  token: any
  style: any
}

export interface updateUserParams {
  userName?: string
  nickName?: string
  loginName?: string
  loginPassword?: string
  confirmPassword?: string
  userPhone?: string
  roleId?: string
  refId?: string
  deptId?: string
  remark?: string
  userState?: 1 | 2
  pkid?: ''
}
